home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / share / initramfs-tools / hooks / usplash < prev   
Text File  |  2009-10-22  |  500b  |  33 lines

  1. #!/bin/sh
  2.  
  3. OPTION=USPLASH
  4. PREREQ="framebuffer"
  5.  
  6. prereqs()
  7. {
  8.     echo "$PREREQ"
  9. }
  10.  
  11. case $1 in
  12. prereqs)
  13.     prereqs
  14.     exit 0
  15.     ;;
  16. esac
  17.  
  18. [ -x /sbin/usplash ] || exit 0
  19.  
  20. . /usr/share/initramfs-tools/hook-functions
  21.  
  22. mkdir -p ${DESTDIR}/usr/lib/usplash
  23.  
  24. copy_exec /sbin/usplash /sbin
  25. copy_exec /sbin/usplash_write /sbin
  26. if [ -f /etc/usplash.conf ]; then
  27.     copy_exec /etc/usplash.conf /etc
  28. fi
  29.  
  30. if [ -f /usr/lib/usplash/usplash-artwork.so ]; then
  31.     copy_exec /usr/lib/usplash/usplash-artwork.so /usr/lib/usplash
  32. fi
  33.